#ifndef CUSTOM_CTRL_H
#define CUSTOM_CTRL_H
/****************数据交互选择****************************/
#define Only_One 			    (0)
#define Chassis_Circuit_Boards  (1)
#define Head_Circuit_Boards   	(2)
/*无双板用0,底盘用1，云台用2*/
#define Circuit_Boards		    (Chassis_Circuit_Boards )
/****************底盘轮子选择***************************/
#define Omni_Wheel				(0)
#define Mecanum_Wheel			(1)
#define Helf_Helm_Wheel			(2)
#define Leg_Wheel				(3)
/*全向轮用0,麦克纳姆轮用1，半舵用2*/
#define Chassis_Wheel_Type		( Helf_Helm_Wheel)

/*-------------------------校验层（使用时如果需要校验，复制对应代码）-------------------------*/
//上下板选择
/*---------------------范围--------------------------*/
#define Circuit_Boards_Min		Only_One
#define Circuit_Boards_Max		Head_Circuit_Boards

#ifndef Circuit_Boards
	#error "Undefine 'Circuit_Boards'"  // 未定义电路板类型时报错
#endif
#if ((Circuit_Boards<Circuit_Boards_Min)||(Circuit_Boards>Circuit_Boards_Max))
	#error "Error state of Circuit_Boards'"  // 电路板类型非法时报错
#endif
//底盘类型选择
/*---------------------范围--------------------------*/
#define Chassis_Wheel_Type_Min		Omni_Wheel
#define Chassis_Wheel_Type_Max		Leg_Wheel

#ifndef Chassis_Wheel_Type
	#error "Undefine 'Chassis_Wheel_Type'"  // 未定义底盘类型时报错
#endif
#if ((Chassis_Wheel_Type<Chassis_Wheel_Type_Min)||(Chassis_Wheel_Type>Chassis_Wheel_Type_Max))
	#error "Error state of Chassis_Wheel_Type'"  // 底盘类型非法时报错
#endif

#endif
